﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace yafc.Interface.Api
{
	public class Param
	{
		private KeyValuePair<string, string> value;

		public Param(string Key, string Value)
		{
			value = new KeyValuePair<string, string>(Key, Value);
		}

		public string getKey()
		{
			return value.Key;
		}

		public string getValue()
		{
			return value.Value;
		}

		public string toString()
		{
			return value.Key + ":" + value.Value;
		}

		public string toString(string seperator)
		{
			return value.Key + seperator + value.Value;
		}
	}
}
